﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace Ccit.Utils
{
    /// <summary>
    /// http 操作类
    /// </summary>
    public class HttpInterface
    {
        #region public static interface

        /// <summary>
        /// 弹出脚本提示
        /// </summary>
        /// <param name="strMessage">提示信息</param>
        public static void PromptMsg(string strMessage)
        {
            string strScript = "<script type='text/javascript'>";
            strScript += "alert('" + strMessage + "');";
            strScript += "</script>";
            HttpContext.Current.Response.Write(strScript);
        }
        #endregion
    }
}
